package com.novel.base.config.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * IgnoreProperties
 *
 * @author 樊温军
 * @date 2025/5/7 下午5:40
 */
@Setter
@Getter
@Component
@ConditionalOnExpression("!'${security.oauth2.ignore-urls}'.isEmpty()")
@ConfigurationProperties(prefix = "security.oauth2")
public class IgnoreProperties {
    private List<String> ignoreUrls = new ArrayList<>();
}
